package com.dream.able;

import com.dream.pojo.Mreply;
import com.dream.pojo.MreplyExample;
import com.dream.pojo.MreplySon;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MreplyMapper {
    int countByExample(MreplyExample example);

    int deleteByExample(MreplyExample example);

    int deleteByPrimaryKey(Integer rid);

    int insert(Mreply record);

    int insertSelective(Mreply record);

    List<Mreply> selectByExample(MreplyExample example);

    Mreply selectByPrimaryKey(Integer rid);

    int updateByExampleSelective(@Param("record") Mreply record, @Param("example") MreplyExample example);

    int updateByExample(@Param("record") Mreply record, @Param("example") MreplyExample example);

    int updateByPrimaryKeySelective(Mreply record);

    int updateByPrimaryKey(Mreply record);
    
    List <MreplySon> getReplySon(Integer mid);
}